package com.xin.demo.springboot_xin_demo4.dao;

import com.xin.demo.springboot_xin_demo4.pojo.Article;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ArticleMapper {
    @Select("select * from t_article")
    List<Article> findAll();
}
